import request from '@/util/request'

// list  
export function list() {
    return request({
        url: '/goods',
        method: 'get',
    })
}

// buy  
export function buy(goodsId) {
    return request({
        url: `/goods/buy/${goodsId}`,
        method: 'get',
    })
}


